#ifndef _DYNAMICSKYBOX_H_
#define _DYNAMICSKYBOX_H_

#include <SECore/Manager.h>
#include <SERender/Resourses/Material.h>
#include <SERender/Entity/Drawable.h>
#include <SECore/Reflect.h>

namespace SEngine
{
    class DynamicSkybox : private Drawable
    {
        REF_ENABLE
    public:
        DynamicSkybox();
        virtual ~DynamicSkybox() = default;
        void SetMaterial(ResRef<Material> material);
        void Draw(Renderer & renderer);
        ResRef<Material> GetMaterial() { return Drawable::GetMaterial(); }

    };

    REF_REGISTER_CLASS(DynamicSkybox, 
        REF_REGISTER_FIELD(DynamicSkybox, m_material)
    )

} // namespace SEngine



#endif